package com.bdsoft.actions.dicManage.Service;

import com.bdsoft.actions.dicManage.entity.DictDetail;
import com.bdsoft.actions.dicManage.entity.SysDictType;
import java.util.List;

public interface DictionaryService {
    // 字典类型
    List<SysDictType> getDictTypeList(String typeCode, String typeName);
    int addDictType(SysDictType dictType);
    int updateDictType(SysDictType dictType);
    int deleteDictType(String id);
    SysDictType getDictTypeById(String id);

    // 字典明细
    List<DictDetail> getDictDetailList(String dictCode);
    int addDictDetail(DictDetail detail);
    int updateDictDetail(DictDetail detail);
    int deleteDictDetail(String id);
    DictDetail getDictDetailById(String id);
}
